1. Create an empty dep file if neither lib is installed
2. Forcibly disable support for libs if building minios
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
libxenguest.so.$(MAJOR): libxenguest.so.$(MAJOR).$(MINOR)
ln -sf $< $@
+ifeq ($(CONFIG_MiniOS),y)
+.zlib.deps:
+ echo >$@
+else
.zlib.deps:
@(set -e; \
. ../check/funcs.sh; \
- rm -f $@.new; \
+ echo >$@.new; \
if has_header bzlib.h; then \
echo "-DHAVE_BZLIB" >>$@.new; \
echo "-lbz2" >>$@.new; \
echo " - LZMA decompression supported"; \
fi; \
mv $@.new $@)
+endif
xc_dom_bzimageloader.o: .zlib.deps
xc_dom_bzimageloader.o: CFLAGS += $(shell grep D .zlib.deps)